<?php
/**
 * ============================================================================
 * Copyright (c) 2016-2017 #### All rights reserved.
 * ----------------------------------------------------------------------------
 * 文件名称：LookModel.class.php
 * ----------------------------------------------------------------------------
 * 功能描述：########
 * ----------------------------------------------------------------------------
 * 作者:chenbei
 * ----------------------------------------------------------------------------
 * 时间:下午2:03:52
 * ----------------------------------------------------------------------------
 */
class LookModel extends Model {
	/**
     * 获取浏览记录
     */
    public function getlook($where = '',$field = '*') {
        return $this->where($where)->field($field)->find();
    }
	/**
     * 获取浏览记录
     */
    public function getlookList($where = '',$field = '*') {
        return $this->where($where)->field($field)->select();
    }
}